package com.chaochis.wind.util.wrapper_http;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;

/**
 * 自定义的Request包装对象
 */
public class WindRequestWrapper extends HttpServletRequestWrapper {

  public WindRequestWrapper(HttpServletRequest request) {
    super(request);
  }

  public String getRequestToken() {
    return ((HttpServletRequest) this.getRequest()).getHeader("token");
  }

}
